package deibay.server.eventargs;

import deibay.network.IClientCommunicator;
import deibay.users.User;

/**
 * @author   Joel Cordeiro
 */
public class NewSessionEventArg extends EventArg{
	
	private IClientCommunicator clientCommunicator = null;
	private User user = null;
	
	public NewSessionEventArg(IClientCommunicator communicator, User user)
	{
		this.clientCommunicator = communicator;
		this.user = user;
	}

	/**
	 * @return
	 * @uml.property  name="clientCommunicator"
	 */
	public IClientCommunicator getClientCommunicator()
	{
		return this.clientCommunicator;
	}
	
	/**
	 * @return
	 * @uml.property  name="user"
	 */
	public User getUser()
	{
		return this.user;
	}
}
